#ifndef RECTANGLE_H
#define RECTANGLE_H

#include "Figure.h"

class Rectangle : public Figure
{
    // vector 'data' keeps: coordinate of the upper left corner(x, y), sides(a, b), angle of turn(ang);

public:
    Rectangle(std::vector<double> &_data);
    virtual void setData(std::vector<double> &_data);
    virtual std::vector<double> getData();

    virtual void extension(double coefficient);
    virtual void shift(double coefficient1, double coefficient2);
    virtual void turn(double angle);
    FigureType type();

    ~Rectangle();
};

#endif // RECTANGLE_H
